package com.drawingtimer.admin.converter;

import com.drawingtimer.admin.model.entity.TTimeSegmentRecord;
import com.drawingtimer.admin.model.vo.TTimeSegmentRecordPageVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 时间段记录模型转换器
 *
 * @author jjh 2025-04-24 16:34:17
 */
@Mapper
public interface TTimeSegmentRecordConverter {

	TTimeSegmentRecordConverter INSTANCE = Mappers.getMapper(TTimeSegmentRecordConverter.class);

	/**
	 * PO 转 PageVO
	 * @param tTimeSegmentRecord 时间段记录
	 * @return TTimeSegmentRecordPageVO 时间段记录PageVO
	 */
	TTimeSegmentRecordPageVO poToPageVo(TTimeSegmentRecord tTimeSegmentRecord);

}
